package cn.dogeye.entity;


import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("user_info")
public class UserInfo {
  private long userId;
  private String userName;
  private String userIdentity;
  private String userPhone;
  private String userSex;
  private String userAccount;
  private String userPassword;
  private String userEmail;
  private double userBalance;
  private String userNick;
  private String userHeadAvatar;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "utf-8")
  private Date userCreateTime;
  @JsonFormat(pattern = "yyyy-MM-dd",timezone = "utf-8")
  private Date userLoginTime;
}
